import { AddressType, SceneType } from './types';

export default {
  fullPath: {
    type: Boolean,
    default: false,
  },
  value: {
    type: Array as PropType<Recordable[]>,
    default: () => [],
  },
  disabled: {
    type: Boolean,
    default: false,
  },

  sceneType: {
    //按照页面布局左中右   数组下标0 表示左侧部门 数组下标1 表示中间用户 依次类推  左侧需要什么列表就参考 SceneType  及对应文件内说明
    type: Array as PropType<SceneType[]>,
    default: ['GENERAL'],
  },
  // 具体值参考 AddressType 及对应文件内说明
  addressType: {
    type: Number as PropType<AddressType>,
    default: 99,
  },
  minSelect: {
    type: Number,
    default: Infinity,
  },
  maxSelect: {
    type: Number,
    default: Infinity,
  },
  ids: {
    type: Array as PropType<string[] | number[]>,
    default: () => [],
  },
};
